package com.glink.manage.dto.sip;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 预置位操作请求参数
 * @author xum
 * @since 2024/9/9
 **/
@Data
public class OperatePresetDTO implements Serializable {

    @NotBlank(message = "视频代理SIP用户名不能为空")
    @ApiModelProperty(value = "视频代理SIP用户名")
    private String proxySipCode;

    @ApiModelProperty(name = "equipId", notes = "设备id")
    @NotBlank
    private String equipId;

    @ApiModelProperty(name = "belongEquipId", notes = "所属硬盘录像机设备id")
    private String belongEquipId;

    @ApiModelProperty(name = "channelNumber", notes = "通道号(位于硬盘录像机的通道号/摄像机通道号)")
    @NotNull
    private Integer channelNumber;

    @ApiModelProperty(name = "presetNum",notes = "预置位序号")
    @NotBlank
    private String presetNum;

    @ApiModelProperty(name = "command", notes = "预置位控制指令，设置：1，删除：2，转到：3")
    @NotNull
    private Integer command;

    @ApiModelProperty(name = "presetName", notes = "预置位名称(设置时传)")
    private String presetName;
}
